// routes/routeTypes.ts
export interface RouteMeta {
	title: string;
	requiresAuth?: boolean;
	roles?: string[];
	[key: string]: unknown;
}

export interface RouteConfig {
	path: string;
	element: React.ComponentType<{ [key: string]: unknown }>;
	meta?: RouteMeta;
	children?: RouteConfig[];
}
